<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style type="text/css">
				
			#cu{
				width: 300px;
				height:300px;
				border: 1px aqua solid;
			}
		</style>
	</head>
	<body>
		<button type="button" onclick="bt1()" id="dd"> 按钮</button>
		<div id="cu" onmouseenter="div1()" onmouseleave="div2()" onmousemove="div3()">
			
		</div>
	</body>
	<script type="text/javascript">
		fuction bt1(){
			console.log("不点了");
		}
		
			
		document.getElementById('dd').onclick=fuction(){
			console.log("不点了");
		}
		function bt3(){
			console.log("不点了");
		}
		document.getElementById('dd').addEventListener(onclick,bt3);
		
		// onmouseenter	进入元素
		// onmouseleave	离开元素
		// onmousemove	在元素上面移动
		function div1(){
			console.log("进入元素");
		}
			
		function div2(){
			console.log("离开元素");
			
		}
			
		function div3(){
			console.log("在元素上面移动")
		}
	</script>
</html>
